<div class="percentgood">
    <div class="comment-percent"> <strong class="percent-tit">评分</strong> <div class="percent-con">{$averageRating}</div> </div>
    <div class="comment-body">
        <div class="graph">
            <div class="graph-scroller"> <em style="left: {$averageRatingRate}%;"> {$averageRating} <span class="caret"></span> </em> </div>
            <ul class="graph-description">
                <li>非常不满</li>
                <li>不满意</li>
                <li>一般</li>
                <li>满意</li>
                <li>非常满意</li>
            </ul>
        </div>
    </div>
    <div class="comment-right"> <p style="line-height: 75px;">评论数: {$totalScoreRows}</p> </div>
</div>

<div class="tab-gbw">
    <div class="">
        <div class="evalute-detail" id="all">
            <ul>
                {eyou:commentlist name="$Comment" id="field"}
                <li class="lie" id="{$field.comment_id}">
                    <div class="column starevalute">
                        <div class="column rankevalute">
                            <div class="member"> <img src="{$field.head_pic}"/> </div>
                        </div>
                    </div>

                    <div class="column personeva">
                        
                        <div class="comment"> 
                            <div class="menber-name">
                                <div class="menber-name-title">{$field.nickname}</div> 
                                <div class="menber-name-level">{$field.level_name}</div>
                                <div class="comment-star star{$field.total_score}"></div>
                            </div>
                            <div class="comment-ge">
                                {$field.add_time|date='Y-m-d H:i:s',###}&nbsp;·&nbsp;{notempty name="$field.spec_value"}&nbsp;{$field.spec_value}&nbsp;{else/}&nbsp;{/notempty} 
                                
                            </div>
                            <div class="description"> {$field.content} </div>
                            {eyou:notempty name="$field.upload_img"}
                            <div class="show-pic" id="show-pic">
                                <div class="sc_bd">
                                    <dl>
                                    {eyou:volist name="$field.upload_img" id="img"}
                                        {eyou:notempty name="$img"}
                                        <dd><a target="_blank" href="{$img}"><img src="{$img}" width="80" height="80"/></a></dd>
                                        {/eyou:notempty}
                                    {/eyou:volist}
                                    </dl>
                                </div>
                            </div>
                            {/eyou:notempty}
                        </div>
                        
                    </div>
                    {notempty name="$field.admin_reply.adminReply"}
                    <div class="reply">
                        <div class="reply-con">
                            <p>商家回复:</p>
                            <ul>
                                <li>
                                    <span class="">{$field.admin_reply.adminReply}</span><p class="">{$field.admin_reply.replyTime}</p>
                                </li>
                            </ul>
                        </div>
                    </div>
                    {/notempty}
                </li>
                {/eyou:commentlist}
                
            </ul>
        </div>
    </div>
    <div style="text-align: center; margin-top: 30px;" id="comment_page">{$Page}</div>
</div>

<script type="text/javascript">
    $(".evalute-titleul li").each(function() {
        var obj = $(this);
        obj.click(function() {
            obj.addClass("check").siblings().removeClass("check");
            obj.find("em").addClass("embold").siblings().removeClass("embold");
            var level = obj.data("level");
            $('#eyou_comment_type_1571216382').val(level);
            AjaxComment(level, 1);
        });
    });
</script>